
package com.service.impl;


import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.dao.OperateLogDao;
import com.dao.UserDao;
import com.entity.ConfigEntity;
import com.entity.GongyingshangEntity;
import com.entity.OperateLogEntity;
import com.entity.UserEntity;
import com.entity.view.GongyingshangView;
import com.entity.view.OperateLogView;
import com.service.OperateLogService;
import com.service.UserService;
import com.utils.PageUtils;
import com.utils.Query;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * 系统用户
 */
@Service("OperateLogService")
public class OperateLogServiceImpl extends ServiceImpl<OperateLogDao, OperateLogEntity> implements OperateLogService {



    @Override
    public PageUtils queryPage(Map<String, Object> params, Wrapper<OperateLogEntity> wrapper) {
        Page<OperateLogView> page =new Query<OperateLogView>(params).getPage();
        page.setRecords(baseMapper.selectListView(page,wrapper));
        PageUtils pageUtil = new PageUtils(page);
        return pageUtil;
    }


}
